﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.ModularFixture.CApMFVariationOption
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using System.Collections;


namespace DnProcessSimulateCommands.ModularFixture;

internal class CApMFVariationOption
{
  private int m_prototypeId;
  private int m_instanceId;
  private string m_name;
  private ArrayList m_parentRows;
  private ArrayList m_gridRows;
  private ArrayList m_parentGridRows;

  internal CApMFVariationOption(int prototypeId, int instanceId, string name)
  {
    this.m_prototypeId = prototypeId;
    this.m_instanceId = instanceId;
    this.m_name = name;
    this.m_parentRows = new ArrayList();
    this.m_gridRows = new ArrayList();
    this.m_parentGridRows = new ArrayList();
  }

  internal bool DoesTemporaryStructureExist() => this.m_gridRows.Count > 0;

  internal int PrototypeId
  {
    get => this.m_prototypeId;
    set => this.m_prototypeId = value;
  }

  internal int InstanceId
  {
    get => this.m_instanceId;
    set => this.m_instanceId = value;
  }

  internal string Name
  {
    get => this.m_name;
    set => this.m_name = value;
  }

  internal ArrayList ParentRows
  {
    get => this.m_parentRows;
    set => this.m_parentRows = value;
  }

  internal ArrayList GridRows
  {
    get => this.m_gridRows;
    set => this.m_gridRows = value;
  }

  internal ArrayList ParentGridRows
  {
    get => this.m_parentGridRows;
    set => this.m_parentGridRows = value;
  }
}
